﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.Helper
{
    public class BaseResponse
    {
        /// <summary>
        /// 请求id
        /// </summary>
        public string RequestId { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public Error Error { get; set; }

        [JsonProperty(DefaultValueHandling = DefaultValueHandling.Include)]
        public bool IsSuccess { get; set; } = true;
    }
}